import { axios } from '@/utils/request'

export function getList (parameter) {
  return axios({
    url: '/command/Branch/branch_list',
    method: 'post',
    data: parameter
  })
}

export function addBra (parameter) {
  return axios({
    url: '/command/Branch/add_branch',
    method: 'post',
    data: parameter
  })
}

export function delBra (parameter) {
  return axios({
    url: '/command/Branch/del',
    method: 'post',
    data: parameter
  })
}

export function getjdList (parameter) {
  return axios({
    url: '/command/Branch/jd_user_list',
    method: 'post',
    data: parameter
  })
}

export function addJdUser (parameter) {
  return axios({
    url: '/command/Branch/add_jd_user',
    method: 'post',
    data: parameter
  })
}

export function delJdUser (parameter) {
  return axios({
    url: '/command/Branch/del_jd_user',
    method: 'post',
    data: parameter
  })
}
